﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JZ.Common.Web
{
    public class WebRequestException : Exception
    {
        public WebRequestException(string requestUrl, string message, string code)
            : base(message)
        {
            this.RequestUrl = requestUrl;
            this.ErrorCode = code;
        }

        public string RequestUrl { get; private set; }
        public string ErrorCode { get; private set; }
    }
}
